String literal queries work by treating everything before and after the logical variable as a prefix and suffix. This includes the quotes, and is why we can do variable searching in strings. However, this means that the generic "$T" pattern will not match with any string which contains a special mark, such as U"Hello". Strings should be changed so that generic string patterns match with all string literals.