Merge "Remove tab only if tab exists."