Top k fix

Instead of comparing with the count of entire sketch, take count of only the current selected elements because that is what we need to replace or add to. Still control the selection with frequency count limit percentage as earlier.