Throws exception for incorrectly configured arrays, Issue #39