Search function not finding notes

Operating system: Linux Mint xfce 19.3

Joplin 1.0.201 (prod, linux)

I have used Joplin on Linux Mint for over a year on different computers without any search issues. However I just installed Joplin on another computer and the search function often doesnt work. No text matching the search term is found.

I have tried multiple times searching for different files, sometimes it finds the file, sometimes it shows no result.