delete term mapping if no mapping is pointing to it. For accurate stats.