Fixed unique_error_message so the error message works properly when attempting to overwrite an item by creating a new one with the same value for a unique field.