Fixed bug with internalLink detecting the parent url