Fix for isArray check in fieldTypes/relationship.js