Proposed solution to issue #56 implemented for undo operation. If an attribute was not set in the original after undo the attribute will have value nil.
Changed implementation according to proposal by @dblock.
Updated change log.
Merged from master.