Fixed a bug in the accept-language parser