Issue with hiding tabs in milestone


I have an expression rule. Please refer to the below screen

I have designed a horizontal milestone inside an interface and calling the above expression at  local!steps.

When I run the interface, I was able to see proper tabs (Main Employee Form & Review).

But, the Issue is when I navigate to "Review" tab, it was showing hidden tabs layout also.

Any one is having any idea, how can I avoid this issue.

I would like to show only the screens which are visible during load. I don't to see hidden tab screen details in the "review" tab.

  Discussion posts and replies are publicly visible