fix MultiValueDictKeyError when editing Inline objects per https://code.djangoproject.com/ticket/12235