Move the session null asserts closer to usage.

The asserts havent fired yet, but I want to minimize any chances of it, so moving it closer to usage.