Fix deleting items