Fix to remove any arrays of an empty string ['']. This was occurring for theme and references fields.