[ngrams] ngramsValidPatch put to appropriate use

For ngrams table, we set ngramsValidPatch = mempty because the table
is refreshed and we have issue
#594

However, we need to keep that field, it turns out, because we have
#598

Recently applied patches are needed for the document ngrams
highlighting.

This all would be unnecessary (or at least moved to the backend) if we
had
#553
2 jobs for 598-dev-ngrams-patches-fixes in 0 seconds (queued for 97 minutes and 12 seconds)
latest
Status Job ID Name Coverage
  Test
failed #8755
deps

failed #8756
test

 
Name Stage Failure
failed
test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace
failed
deps Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace