Fix validation on nil prices.

The new maximum validation did not play nice with nil prices, which are
allowed.