Correctly set up duration filter