Fixed bug in 'Undo last fit', won't raise error if it's only been detected but not fitted.