Small bugfix for item removal behavior.