fix. bug in revert_rate.  Historics revs should be ordered by descending rev_id.

Change-Id: I16c30cf7b3e3edee3822aca33cdbcf12ae5b3f04