Reset stringstream while adding filters