Fix #6: add support for $in and $nin for arrays