Correctly apply filter for duration and price