Fixed bugs that are caused by adding allowRepeat option
 - Having the same mention in the colleciton caused a problem
 - Should highlight text multiple times if needed
 - Should apply the result to the syntax message multiple times if
   needed