patch for [#28409] Smart Search gives fatal error when searching with
stemmer enabled