Make sure we're dealing with an array

Had one odd error crop up for a user.  Fixing here.

Should be in 3.1.1