Fixed logical typo in submission model.

* result.__getattr__() assignment should be __setattr__()