Fixed query bug from pull #4

The current code will remove other instances of the icon if it appears more than once on the page.