Use deep equals.

DeepEquals works, and is less unsafe than unsafe.