Fix incorrect template being specified.