Shouldn't this be `ids_to_parent_records`, since the values are the parent rather than child record, and a child might have multiple parents.