Fixes U4-5077 Umbraco 7.2 Alpha - doc types with compositions get moved in doc type tree

Return 0 if parent is the root