Throw an assertion error if item changes