Fix ArrayIndexOutOfBoundsException in named parameters completion