Fix for incorrect revision numbers