maastrichtSyntax error, unexpected token ), near to ')) ORDER BY creationdate DESC LIMIT :APL0:', when parsing: SELECT [Bericht].* FROM [Bericht] WHERE (categoryid = "7aa12d7a-4acc-4347-8de3-6ba35b4791cf" AND lokaalverzoek = 1 OR (lokaal = 1 AND ))) ORDER BY creationdate DESC LIMIT :APL0: (178)