Added debug messages

Trying to solve why canBeRemoved always returns false