[Refactoring] Filter out nested types in import symbol completion.