Fixed encoding issues in search and auto focus on page load, and no result returning null seraches