Plan: Fix crash in tj scheduler if a resource does not have a calendar
This can happen when there is no default calendar and no calendar has been set for a resource.