Fix incorrect use of .join on list