Parenthesize OR expression in query and adjust loadCountTrigger