- fixed bogus linking of same SDP to multiple entities.
- fixed missing break in switch
  Credits for reporting and helping with testing go to Tolga Tarhan.