Switch tag/subtag order in template selector