bug #5300 Prevent email reports from being sent twice for the same period