Don't compare with a constant when its a parameter.

Enforce that the address isn't longer than max_length instead of a constant that is only the same as the default.