Support for multiple occurrences of __value__ in search string