Add a class to clarify code around filtering duration.