Fixed bug in diff command