Do some more length validation.