Fix bug in MediaType matching discovered by EntityDecoder tests