[ngrams] fix for initial ngrams history table

The issue was that when search was performed, the initial table didn't
have an archive ready and so first commit resulted in some errors on
the frontend. This fix performs the commit after flow is finished.
parent 9e5eeb1d
Pipeline #4619 passed with stages
in 42 minutes and 53 seconds