Null check when clearing values in SchedulePipeline. Closes #804.