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