Remove unused maxRangeScanFilter function