Aras Rest api wrong filter behavior

I have a request: .../server/odata/Part?$filter=(id eq '...' or id eq '...') and generation gt 0&$expand=created_by_id.

I'm trying to get more then one Part. One of them is an old version of another Part (thats why i'm using 'generation gt 0' filter).

But also i need to expand some internal entity.

So such request doesn't work. It will return only items with the latest version (i think 'generation' filter doesn't override default verion filter in this case).

If i remove 'expand' from here, it will work properly. But i need to have 'expand' and such filter in One request here.

I'm using Aras version 12 SP9.

Summary: 'generation' filter doesn't work in case of combining it with another filter and 'expand' option.