Unable to add course or learning path to a Collection when there is script such as '\> in the Title field of the course or learning path

Course or learning path fails to actually add to a Collection when its Title contains script tags such as '\>'. Remove any script tags from the Title via the course or learning path Settings to allow it to be added.