BUG: Crashed if null langagues array passed.