A minor fix for trimming fields before checking them in the Pangool schema.