range_filter: support default min and max