Correctly handle zero-indexed placeholder arrays on execute

No test yet; opening the PR to get feedback/test-running. Fixes #75.