fixed search bug, that degraded the search quality immensely