Fixed NetedQueryTransform bug in transformer