Simplified hashing for multi resultsets to match their expressions.