fix #1111 added support for significant terms heuristics