Fix #2181 by correcting the ModelError key name

Fixes #2181 

The issue was just that the model error had the wrong key. Once the key was corrected, all was well again :)