[NEXUS-6801] Fix matching string