Fixed weird bug.
It seems that the diff enumerable had a sentinel element.