fixed issue with collection stats on a 2.2 server.