Fix bug when "schedulings" is null (even though it should be empty instead)