Fixed some session statistics issues