Instead of just testing for existence, compare `item` and `sender` to the actual elements they should be set to.