ignoring leading/trailing whitespace on search