Fix for deepEqual