Do not assume items is an array
Merge pull request #264 from danielfarrell/mongoid-fix

1.0.13 broken for Mongoid, items is not an array