fixes positioning of sub-pages with index = 0 after upgrading from pages_tree
Merge pull request #2 from beck24/child-page-index-0

Fixes positioning of child elements with $child->order = 0