Fixed min length validation

Validation for min length was compared to 0 rather than Min.