fix(hits): fix KeyError when there are no hits