Remove trailing whitespace from the location parameter when searching

Prevents postcodes with trailing spaces from triggering the 'address not found' error

Closes #182