fixed issue with mislabeling missing vs. errored search results. closes #13
fixing encoding issues