Add validation to project status check