Fix for avoiding HRM rol to be registered in course -refs #6701