fix code to not go to next tab when you got no matches, opening visual tabs