Fixed courseForID function which made the prereqsInQuarter function work.