RunBaseBatch dialogs share the same SysLastValue query

Hi.

I’ve faced the following problem:

I have two RunBaseBatch dialogs with queries. Both of them use a similar query with the same data sources, but with different ranges. The dialogs are based on different classes, there is no inheritance or any other kind of link between them. However, for some reason, seems like they share the same SysLastValue saved query: if I set a range on one of them, it shows up in the other in “previously used query” in SysQueryForm. How can I avoid that or why is that happening? I want both dialogs to have separate saved ranges.

Thank you in advance!