Tweaked num_users query to only query for user_id