Activator performance improvement

Shouldn't close the previous PR early. Turns out I did not have to change much of my design.

Pinging previous trackers
@pranavkm
@halter73 
@rynowak
@ipjohnson
@yishaigalatzer 
This is really the existing logic. We are using the criteria "longest streak of matching types from beginning".
I am actively talking to @lodejard / @loudej about it. For now I am keeping the logic the same.