Fix for issue where field is returning an object and an id is required