Fix of bugs: Inverse search for content models; wrong precedence in search string; bad handling of no EVENTS datastream.
Implement integrity test.