Trimming spaces in lookup values.