LPS-44876 Allow the and/or operator in advanced searches to work properly for alloy based portlets