Filtering only valid course types