Custom interval filtering