Fixed query not being set error in GetAllUsers()