Don't rule out ndarrays by testing for truth.

Because "The truth value of an array with more than one element is ambiguous.
Use a.any() or a.all()". Closes #84.
Merge commit '0decf64' up from maint-1.2.

See #84.