Fixing a length check

Shouldn't check length ensure a minimum length instead of an exact length?