Fix `clear` confirmation issues