Condition added to avoid tag highlight in user selection.

I added small condition to fix this issue https://github.com/adobe/brackets/issues/5037