Steps to reproduce:
- Create group TEST and host
- Go to Inventory->Overview
- Apply filter with this TEST host group
- Go to Configuration -> Host groups and delete TEST group
- Open Inventory->Overview
filter is empty, but error on page "No permissions to referred object or it does not exist!"