Engine.setSQL did not have the behavior as described in the documentation: the record and group selection formulas were actually not used for filtering, but rather were erased instead, assuming that the filtering was done by the query. This is no longer the case, which means that the data will now still be filtered after setting a manual
SQL statement if there is a record or group selection formula. If the record or group selection formula is to be removed, simply use Engine.setSF(null) or Engine.setGF(null). An alternative would be to use the
new "ignore filtering" and "ignore sorting" report properties.