Indicator.query optionally applies ranges