BUGFIX Fixed index-based array operators

* Was not getting proper dimensions.