Elastica\Exception\ResponseException: [term] query malformed, no start_object after query name [reason: [1:54] [bool] failed to parse f...

Sentry Issue: TONG-BACKEND-CJ

Elastica\Exception\ResponseException: [term] query malformed, no start_object after query name [reason: [1:54] [bool] failed to parse field [must]]
  File "/src/Absences/Infrastructure/Repository/ProjectionAbsenceRepository.php", line 125, in App\Absences\Infrastructure\Repository\ProjectionAbsenceRepository::search
    $search = $index->search($esQuery);
  File "/src/Absences/Domain/Service/AbsenceService.php", line 38, in App\Absences\Domain\Service\AbsenceService::doesAbsenceOverlapWithOthers
    ['type' => 'range', 'min' => $absence->getStartDate()->format('Y-m-d')],
  File "/src/Absences/Application/CommandHandler/CreateAbsenceCommandHandler.php", line 73, in App\Absences\Application\CommandHandler\CreateAbsenceCommandHandler::__invoke
    if ($this->absenceService->doesAbsenceOverlapWithOthers($absence)) {
  File "/src/SharedKernel/Infrastructure/Symfony/Messenger/Middleware/UpdateProjectionsMiddleware.php", line 43, in App\SharedKernel\Infrastructure\Symfony\Messenger\Middleware\UpdateProjectionsMiddleware::handle
    $envelope = $stack->next()->handle($envelope, $stack);
  File "/src/SharedKernel/Infrastructure/Symfony/Messenger/Middleware/DispatchDomainEventMiddleware.php", line 33, in App\SharedKernel\Infrastructure\Symfony\Messenger\Middleware\DispatchDomainEventMiddleware::handle
    $envelope = $stack->next()->handle($envelope, $stack);
...
(27 additional frame(s) were not displayed)