Fix length checking of 'person' argument.

Catched by new tests.