Fixing question field log error. An empty row was added in the database when the field value was the same as the previous record.