Minor fix for doctrine hydration