Fixed bug where model validation crashed when model binder returned null.