Add support for hashes in filters