Edit history restore: sanity checks