[Commits] c2c1550: MDEV-17419 Subquery with group by returns wrong results