Add support for multiple relations nested under the same relation.