Written but not returning correct instructions

Rolling back changes when backing out of a deadend sequence is not
working correctly yet