[BUGFIX] Use correct check to find site root pages