Fix deleting session when for some reason 'if session' returns False while still valid