Unique constraint violation even after Constraint is dropped