Fixed bug with items not removed when cleared out.