Correct small bug related to swipe creation