Guard against null media hashes