fixed a csw endpoint error in the case where the query is not a boolean query