Fixed several bug when diffing nested custom types inside of objects