Revision will be null if user does not have viewing permission

As a result, this throws an error when clicking on the timestamp in history page

Change-Id: I1c1f58087e0ec3fe74a40fc0435cb3d2e81567d7
Merge "Revision will be null if user does not have viewing permission"