Fix remove bug

Fix bug where added items couldn't be removed.