Fixed Duplicate courseIds