Filtering dates also added to state