Validating XML failed if document was larger than 500k.
Fix edit history navigation