FIX: Error on Mac when deleting older templates