Fixed calculation of mail queue size diff.