Allow for more deeply nested search criteria.

Fixes Bug: 12089 for activesync based global address book searches.