Fixed BadRequestException (400) issue in QueryExecutorService.