[minor/bug] remove extra parenthesis in query