RavenDB-1540 Fixing queries that use IEnumerable.Contains and IList.Cont...

...ains (they were completely ignored)