Fix for duplicate subtab feature.