HHH-8233 fix for exclude-unlisted-classes (was being ignored)