Fix NoIndex infinite loop

For webs, checking NoIndex would infinite loop because the
isWebSiteCollection was called on the wrong object.
1 file changed