Fix issue preventing the correct opening of the learning path in student view - refs #6154 refs #5855