Fix case where 'image' field is of the type 'reference'