Revert "Merge pull request #71 from pedroresende/array_error"

This reverts commit df441ca1d6fbd41acc170bf71f217b5f85298c8e, reversing
changes made to 1606a2b768da071b97a001434a4d5d341bf975d9.