Fix bug with $nin => [nil] not matching properly