Fix type in getChildren, fixes #73