Add assertions that array fetches return arrays

Fixes #820