I think it's a bug, the "CustomAttributes" are not searchable, for instance in a factbox the $content is indexed but the title not. It's strange that you find a word in the page, that in fact exists, like the tile of the factbox, but the searching engine do not find it.