Fix canRevert state