Handle case of multiple hashes