Fixed the filter for closed