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.
Merge pull request #296 from MikeWey/patch-1

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