Implemented reset to last saved version, for issue #1043