[hr_agent] fix error  if user_data['user_id'][0] == uid:
TypeError: 'bool' object is unsubscriptable