Filtering with OR condition

Hi, I’m building a UI where users can filter for real estate properties based on the price among other fields. Some properties do not have a price and have a flag priceOnRequest set to true in that case.

Whenever a user filters by price, I want to include these properties with priceOnRequest flag in the returned results. I thought I would it do it with an OR condition price > 1000000 OR priceOnRequest: true but I get the error that Different types are not allowed in the same OR .
Are there any other ways to achieve this without having to do extra requests?

solved by using price > xxxxxxx OR priceOnRequest=1 instead of priceOnRequest: false