Issue in navigating to a unit from course

Hi,

I’m facing an issue in navigating to a unit form the subsection in a course.

I created 3 units in subsection and published 1st unit to cohort-A and 2nd unit to cohort-B and 3rd unit to all learners in a course.

As a learner from cohort-A, I can see the 1st unit which is published to Cohort-A and 3rd unit which is published to all learners. When I try to navigate to the 3rd unit from course view it’s navigating to 1st unit instead of the 3rd.

check the below link for the reference.

Please help me in fixing it.

Thanks.