prevent empty required_hits in edge case
Merge branch 'master' into release-1.0