bugfixes in coocurrence search