TEIID-2589 correcting the reporting of subplans