Update src/DoctrineModule/Form/Element/ObjectSelect.php

Fix for https://github.com/doctrine/DoctrineModule/issues/162