New bug in Origin 2019. Fixed in Origin 2019b.
Simple way to reproduce the issue
1. Start a new project. Import \Samples\Curve Fitting\Gaussian.dat
2. Highlight column B to open PA, select Fit Peaks goal, click OK to create result.
4. Save the book as analysis template.
5. New a project and open above analysis template.
6. Activate 1st sheet and import new data. Click Recalculate toolbar button.
==> The FitPeaks sheet has no contains.