Checks more than 2 inheritance levels values in Doctrine ORM PropertyPath

This fix checks if a property with more than 2 inheritance level has values in her parents.

Now, if you pass a propertyPath with more than 2 inheritance levels, Symfony throws an UnexpectedTypeException and breaks the export.

With this fix, this will not happen.