text: Title: Return to the first page after visiting invalid page
  Body: ### Actions before raising this issue
  
  - [x] I searched the existing issues and did not find anything similar.
  - [x] I read/searched [the docs](https://docs.cvat.ai/docs/)
  
  ### Is your feature request related to a problem? Please describe.
  
  When visiting a non-existent page for some resource in UI, you're shown a error notification
  
  ![Image](https://github.com/user-attachments/assets/af067487-6056-4145-b439-5f746ec9ba08)
  
  It would be nice to redirect the user automatically to the first page or to provide a button to do so. There are other buttons on the page (Tasks, Jobs etc.), but if there was some filter enabled, visiting these pages will clear the filter.
  
  ### Describe the solution you'd like
  
  _No response_
  
  ### Describe alternatives you've considered
  
  _No response_
  
  ### Additional context
  
  _No response_