Modified cleanup SQL to properly preserve manual checkin locations.