refs #1486 this should fix the scheduled alerts for month or week run one day too late under circumstances.