Check for empty arrays in array join.