Fixed bug when tabs are not siblings.

- Changed hideOtherTabs function to rely only on data attributes to resolved tabs.