fixed term search to work in all courses