schedule (aka programslot) can be created with start == end
Currently the system allows creation of schedules that have start-time equal to end-time. The rest of the code can't work with that case and produce errors in several locations. As this is not really a useful feature anyway the system should prevent the user from creating schedules with lengths <= 0.