SJOIN: Fix crash when both mode parameter and UID list are missing.