Fix AttributeError when destroy is called

1. Set a session.
2. Update session with keys.
3. Destroy.
4. Check if destroy worked.
5. PROFIT