Avoid generating invalid SQL when a LINQ Contains() expressions references an empty collection.