Fix AbandonedUser::getQuery