Fixed weird behavior adding connections & reloading the tabs