[BUGFIX] Ensure valid arguments for array_chunk

Fixes #637
Should we maybe do an empty return instead? The person wanted zero (or less *g*) parts returned.