improved how min cat attributes is used

Iterating over set but logging is commented out, delete this