swipe2delete: handle possible dead loop