fixed error in result set merging: concat operates on lists