modified findByTargetId in HitRepository