Kexi: Fix retrieval of aggregate report values for queries
Differential Revision: https://phabricator.kde.org/D764