added support for arrays when using ORM.in