Fixed check for Projectrevision