Multiple master pages with the same name exist.
Explanation
There is more than one master page with the same name in your template.
User response
Even if the variable names use different cases, you can avoid confusing the master pages by creating unique names for each master page.