NCBO-416 ontologies with wrong max dept
safety for cycles in maxdepth calculation
corrected max depth safety check for cycles