Fixing some accidental copy/paste errors
Merge pull request #25 from borkweb/fix-term_exists-fatal

Fixing some accidental copy/paste errors