fix handling of media range results in the format negotiation (fixes #631)