When doing a sparse tree using a property named with a hyphen (e.g. word-word2)
this is not found/recognised. Instead if the property is  named with an
underscore (e.g. word_word2) the sparse tree works as expected.

Emacs  : GNU Emacs 28.0.92 (build 2, x86_64-w64-mingw32)
 of 2022-03-24
Package: Org mode version 9.5.2 (release_9.5.2-401-g91681f )