Fixed bug in pydiff.