Start the session state before each query incase it has been cleared