Change project detection logic