Fixed a couple errors with arrayVar and arrayConst