Does deep equality matter here in any of the cases?