Fix nested array checks.

Fixes #23.
may be "... end with coma" ?