Wrong datatype passed to Es_Category::getChildren