Fix admin users filtering

Previously, it would error if filtering with a blank query and when the clear button was used.