Fix revision behavior