Fixed bug, that time t was preceeding start of a task
Merge pull request #21 from hawesie/hydro-devel

Scheduler now works as expected with multiple time windows.