[Bug] Email sync peak time treated as off-peak
If email sync peak end time is earlier than start time then peak time is treated as off-peak. For example if peak starts 8:00 and ends 23:00 everything works fine but if peak starts 8:00 and ends 00:00, then the account is always off-peak.