Fixes bug about tags remaining highlighted all the time.