fix bug where strong coocurrences cannot be found and KeyError is raised