Fixed filtering in the classtools subpackage