Added check in session delete for more types