Fixed a number of bugs with advanced search. Searching across all semesters now works properly, and the results will now show the last offered version of that course in the results (TODO: add year in results front end). Duplicates properly being removed. Other small fixes. I think advanced search should now be working properly. Next need to finish reintegrating basic search. More to come soon.