SSP-2401 - fix issue with course_title based substitution matching