This should avoid problems with elements that are not real interlanguage links, which may be added by other code, for example user scripts. Bug: T267887 Change-Id: I3f9c618b417363f667a31e9dad335c1aec15b055