[PDI-10022] Some valid aggregate data queries return error with get fields.