Fixed error involving cancelling changes