fixed issue when checking prereqs when selecting a class