delete item bug fix

delete item checks more fields before deleting, avoiding accidental
deletes