Fixes MultiValueDictKeyError when 'languages' does not exist.

To address issues/2102