Change boolean operator between query part