sometimes sched dict do not contains con key
Merge pull request #736 from bclermont/con_keyerror

sometimes sched dict do not contains con key