Fixed a bug where getting a revision entity would set the wrong revision number.
Fixed a bug where getting a revision entity would set the wrong revision number.