Merge list arguments applied from different templates