Fixed getDataFromComplexObjectQuery to work with observables in path