Avoid integrity constraint violation