added check to skip duplicated messages on same parameter (#30)

Can you maybe use a different looping strategy so it stops if `found` is ever true.