nunaliit2-couch-client: Fix issue in trimming text attributes.

Issue #36