Fixes bug in ACPTemplatesFileHandler