Fix nested relations with subset names.