Fix bug for address search when white spaces