Minor fixes on the jt-stats module