WL-2941 Collect basedate from all courses.

Previously if the course didn't have a signup or teaching date it wouldn't get a basedate which mean that as all searches required a basedate they would never get found.
Merge branch 'WL-2941'