Fix# duplicate course should check by course code and class code