How to delete a repeating shift