Don't add _id only changes to the undo stack

Fixes 282.