Updating a parent record and its association keeps parent record in `inflight` state

Suppose there is a Person model that `hasMany` Occupations. Also suppose there is a person with 1 occupation. When setting an attribute on person and setting an attribute on occupation, then committing, person seems to be stuck in the inflight state.

This pull request contains a failing test that exposes this issue.