bugfix: ipk2szarp sometimes failed to check repetitions

+ ipk2szarp sometimes didn't report verbosely that there were duplicated
  parameters in base
+ it was also sometimes counting duplicated parameters wrong