Fix bug in whenever schedule, add missing comma