important fix, subngrams may return full pattern