JAL-353 undo for successive removal of redundant sequence - bugfix