ziafazal/api-fix-for-single-user-filter: fixed bug when single value filter is applied

@mattdrayer @martynjames fixed bug when single value filter is applied in users api. it would support MCKIN-1956