Fix crash with ‘join,’ caused by 987c96916