fixed 0-result bug as found by https://github.com/fatihky : https://github.com/fergiemcdowall/search-index/issues/40