Each portion of this query works individually, but when nested an error occurs.
The error states:
"The provided traverser does not map to a value.