Restore and fix postgrey statistics that was broken since 8.1.