Update client.rst

Array index typo fixed