Implicit conversions for ApproxMemQuery