reset pagination when changing filters