Fixed bug with non-deleting basis items.