Fixed problem with revision order