Fix for get_users_by_capability to limit fields returned to user id for performance increase