[top] Fix bug in karma top.