Fixed some messiness around multi-space method lookup.

[#55540950]
Fixed another bug in cross-space method lookup.
Self-review