Fix template conditional.