Fix: join fails on empty list