Fixed 2 isRoot problems.