Fix getting refactored elements function to scan all items in IType tree