Fixed mistake in getUsers query.