Bugfix: check start and end times from loaded channels only.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>