Fix issue MR-332 - Can't select different tab with one click after disconnecting existing tab