Fixed bug

I forgot add the bit of code which checks for variables with an index:
$Array[Index];