Fix a long standing bug where cascade search checks dist version instead of module version from 02packages. Fix #188