Flipped the logic for template rendering because duh