Fix ArrayField's `__len` when value is 0.

This commit updates `ArrayField` to make queries checking its `len`
to work, even if the value is 0.

This was broken in previous releases because PostgreSQL sends back a NULL
value for the length of empty arrays.