Update MetadataConverter.php

Changing the logic of the $classMetadata->parent check to an OR instead of AND.