RA-277: Support for complex compositions of searches in Ad Hoc Analysis tool