Added detection of when pattern matching objects are put in a hashing collection (because they won't work that way, in a non-obvious way)