Hi everybody, I'm very glad I found this topic, thank you Soma for your answer. It worked like a charm.
I did run into the issue myself (while using version 2.5.3), my actions where the following:
I've cloned a page (including it's children), the page itself was found in it's parent but it's children weren't.
Example:
1001 = Products
----- 1002 = T-shirts
----- ------ 1003 = Small
----- ------ 1004 = Medium
----- ------ 1005 = Large
Duplicate *T-shirts* and rename it *Sweaters*
Tree looks like this:
1001 = Products
----- 1002 = T-shirts
----- ------ 1003 = Small
----- ------ 1004 = Medium
----- ------ 1005 = Large
----- 1006 = Sweaters
----- ------ 1007 = Small
----- ------ 1008 = Medium
----- ------ 1009 = Large
find(has_parent=1001) returns:
1001,1002, 1003, 1004, 1005, 1006
The children of 1006 are missing.
I hope Ryan can reproduce the issue this way.