Fix for more than one local tab in a tab container