Text comparison rules on node:body:value with input filters
In my case a custom input format was replacing youtube links with an iframe embedded video. Everything inside the iframe wasn't matching. My solution was to add the original youtube link outside of the iframe tag replacement pattern. 

But why? Hypothesis is that one of the filters ends up running the body through htmlspecialchars.