Modified subsite membership check