Remove unnecessary magic number swipe safety