prevent partial matches

see https://github.com/willdurand/Negotiation/commit/29ed0cab65ce352c6ff1cde0b053c91c8a6b2bb6#commitcomment-4104094