Fixed lookup scope when matching block arg return type