More bugs related to the revision system