Error when filtering on a _make_timestamp column

You cannot filter on a _make_timestamp column. If you do that, the following error messages appear:

UDA-SQL-0114 The cursor supplied to the operation "sqlOpenResult" is inactive 
UDA-SQL-0206 The OLEDB driver returned the following value:
HRESULT= DB_E_CANTCONVERTVALUE 
RSV-SRV-0025 Unable to execute this request

The solution is to apply the filter after aggregation, and not before.