bugfix for object equality test in cancelOperation: