Tabs select from a tab won't work first time in ionViewDidEnter

This is my simple code.

  ionViewDidEnter() {
    if (pageIsVoid) { 

When code is calling during first time page loading, page is part of the tabs, log is printed but tab select fail without any advice. Other times pressing tab icon select works fine. This issue occour only if tab from has index 1, in other words if tab from and tab to are the same.

My goal is return to same tab page, index 1, if the invoked pageIsVoid. Can you give me any idea to procede?

Thanks in advace, David.