issue #23108: get joins test working in masterref