Fix exception name.
Sanity check.

Ensure the tag being added to the search acutally exists.
phpdoc