Slightly relaxed constraint check to prevent false-positive failures in test-all