https://github.com/gnieh/sohva/issues/42

Possible fix (including regression test).