Fix incorrect change check