Fixed comparison general violation contract errors.