[fix] Improve hit rate of license matching