Fixed users query which based on the option values. Adding users query test for limit value.