added an option to allow all classes when paring, this is a fix for #219