Fix disable flag for global-templates