Added a foreach loop to see if $landingPage is parent section of $requestedUrl.