Fixes bug where the man field is an array

Fixes #2918

Couldn't run the tests because of failures in peer-deps though.