Problem with filter functionality

Hi all,
i have a problem with the filter functionality in AX. I wrote the following code:

Query                   qry;
QueryBuildDataSource    qbds;
QueryBuildRange         qbr;
qry = MyTable_ds.queryRun().query();
qbds = SysQuery::findOrCreateDataSource(qry, tableNum(MyTable));
qbr = qbds.addRange(fieldnum(MyTable, My_Field));

wich is executed if a specific CheckBox is set. It works as excepted. But if i enter a new filter value into My_Field, the “!0” filter criteria is copied to another (NOT A SPECIFIC!) column - and this only happens, if there are columns before My_field, which are currently out of scope (not in the visible range). Is this a bug or am i missing somesthing?

Thanks in advance,