added array filter to join arrays by comma separated strings