Use deepEqual when appropriate.
Merge pull request #1550 from braddunbar/deep-equal

Use deepEqual when appropriate.