Fix project status detection