At beginning my settings were working perfectly. After some changes, I got alerts randomly. Just rebooted NVR. It seems like the problem is fixed. Will see in one or two days.
Try with two periods such as
00:00 to 07:00
23:00 to 24:00
That works for me. Normally one period can't be over midnight. It will be case if they use cron job for scheduling.