What about this one?
Still think it would clearer, if getQuerySetQueries returned the new IPT instead of populating a passed in reference..