The Boolean NOT operator does not work in TM GS2017

An attempt to export with the NOT condition gives an error: Object reference not set to an instance of an object.

We tried to export from Trados 2017 and Trados 2019.
Export with the NOT condition from the file TM works as usual.

sdlerror-2019628-16h22m26s.sdlerror.xml
<SDLErrorDetails time="28.06.2019 16:22:34">
  <ErrorMessage>Object reference not set to an instance of an object.</ErrorMessage>
  <Exception>
    <Type>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.LanguagePlatform.ServerBasedTranslationMemory.Client</Source>
    <HResult>-2147467261</HResult>
    <StackTrace><![CDATA[   at Sdl.LanguagePlatform.ServerBasedTranslationMemory.Client.Converters.EntityConverters.GetFieldNames(FilterExpression expr)
   at Sdl.LanguagePlatform.ServerBasedTranslationMemory.Client.Converters.EntityConverters.GetFieldNames(FilterExpression expr)
   at Sdl.LanguagePlatform.ServerBasedTranslationMemory.Client.Converters.EntityConverters.ToRestFilterExpression(FilterExpression coreExpr)
   at Sdl.LanguagePlatform.TranslationMemoryApi.InternalRestClient.QueueTranslationMemoryExport(ExportEntity export)
   at Sdl.LanguagePlatform.TranslationMemoryApi.ScheduledServerTranslationMemoryExport.Queue()
   at Sdl.TranslationStudio.Common.Jobs.ExportSdltmToTmxJobRequest.ExportServerBasedTranslationMemory()
   at Sdl.TranslationStudio.Common.Jobs.ExportSdltmToTmxJobRequest.Execute(IJobExecutionContext context)
   at Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__46_0()
   at Sdl.Desktop.Platform.Implementation.Services.Log.Resources(Object message, Action action)
   at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>14.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>14.1.10011.20356</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 Профессиональная </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1049</OperatingSystemLanguage>
    <CodePage>1251</CodePage>
    <LoggedOnUser>OFFICE\Lobanov</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>NEO912</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8354952 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>