use maximum instead of max to filter for nil

Resolves a bug where the cart validation returns a 500 internal server error if the category max checkout length is nil