Fixed bug in fetch grouped queries that must have got merged out at some point.