check for null entries in user_agency_type
Merge pull request #684 from anujag/mongokit

check for null entries in user_agency_type