This caused `prev_state_ids` to be incorrect if the state event was not replacing an existing state entry.
make_event_from_dict