fixed issue with filtering not working if no page number specified