bug fix: reset page to 1 when filter is set