Werk #15121: Fix possible AssertionError on rule search

Component Setup
Title Fix possible AssertionError on rule search
Date Jan 18, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p20
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

If you e.g. searched for tags in the rule search, an error like "AssertionError" could occur.

To the list of all Werks