Follow up 95f13f3420822111f928ba6079fbc2061bd38c5f

Fixed handling of arrays with 1-member and on index[0].
Thanks to Haruna.

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules