(bug 46624) Avoid fatal when undoing deleted rev.

An undo action that involved a revision that was delted, oversighted or otherwise
missing content triggered a fatal error. Added a check and nice error message.-

Change-Id: I37e82b999d7eea7cf3761960a3d3df467582a596
Merge "(bug 46624) Avoid fatal when undoing deleted rev."