Fixed problem undoing past feature detection.