Set dirtyAttributes when setting belongs-to to null