When building a multiquery, reconstruct the queries but disregard any keys_only flags