Make the $in and $nin operators work correctly.