Trim whitespace from columns before checking for operators.

Fixes #4599