recursively parse criteria contained in an OR criteria