Inline documentation for the Length filter
Also adds a check that the maximum length should be greater than the miniumum