Fixed similar to Java bug in ShortNamesCacheManager. Due to optimization, it could return wrong class (even with qualified name filter).