Fix error when adding inventory item with large description

Fixes #47