[Commits] 9c51cfa: MDEV-25714 Join using derived with aggregation returns incorrect results