fix case pagination and default to only open cases