Fixed multiple duplicate highlight issues

This is a fix for an issue where overlapping terms produced two information boxes and double underlining on some browsers.