Fix EZP-22859: Object Relations versions not saved correctly in Solr