Fix Undefined Index `languages`

Fix undefined index `languages` if no selected language option is
submitted.