[BUGFIX] Search for a string in relation fails

Change-Id: Iea190f782e740c7c5fde3cbca129c4b3e4331d80
Releases: 0.2.0
Fixes: #51992