Fix bug that appears when multiple selectors are used in linkContainer.