Deletion works now properly