Fix project identifier check in timeline tree