Fixed delete of compiled templates