Fix issue with allowed_statuses on public project.