Change get_objects_for_user so it creates much more efficient queries when not using groups.