fix crash in model server when you attempt to create an unreasonably small model
Merge pull request #2893 from ZappoMan/master

fix crash in model server when you attempt to create an unreasonably small model