Improve performance of getquantity response filtering by link number.
Some fixes to the getquantity filtering by link numbers.
Merge pull request #34 from nens/sander-improve-link-number-filtering

Sander improve link number filtering