Avoid "Maximum function nesting level reached" in SpecialSetSiteLink

Change-Id: I8824f506d48b53f36668db63d2eeddd9b631526b