Fixed TransactionProfilerStats so that it doesn't crash everytime it is invokved