Imporve event merge logic

Add keywords group to improve merge accuratecy