Bugfix for addition of arrays