better schedule handling, bugfixes

fields were not rendered correctly in the CSV
schedules were not being unscheduled due to type discrepancies