Correct switch to compare instead of number assumptions.