Add parentheses in lookup query for both blocks log types