Force class searches to be top level as a quick fix for the case of nested classes.