Fix integrity error message checking

Two types of error messages can appear:
- "column start is not unique"
- "PRIMARY KEY must be unique"
So just look for "unique".