Made changes to the queries in display functions so that they only bring
back data that is approved. Also changed the queries for select with all
courses and course instances - they were swapped.