Prevent specs from generating invalid thresholds