Fix incorrectly use of `diff`