Fix for matching cglib (or similar) generated subclasses