mongodb allows None value as a key for _id field, but db2 does not. this patch will fix the problem when meters coming with user_id being set to None. Change-Id: If48e5117198f3e9ad834e4f7fa58ec27c57a8bc8 fixes: bug #1234165