Fix some bugs in Persister statistics methods