Fixing check for changes