Fix handling of extra arguments to join.