[NEXUS-6801] Fix sqlite matching string