Method getChildren() of ProjectItem doesn't work propertly

The problem is that method's algorithm uses non styled text to get child, which doesn't work if there are children that are different in styled text but not in non styled text.