models: applied bramwelt's 0001-Bug-Fix-for-GanetiError-MultipleObjectsReturned.patch

refs #11445
Test adding duplicate error.

refs #11445
Merge branch 'bug/11445' into develop