I think this if should be before: `$translationExtendedMeta = $this->getTranslationExtendedMetadata($translationAssociation);` to skip call `$this->getTranslationExtendedMetadata($translationAssociation)` when there is no `indexBy` key (micro optimization ;))