Fix public project view (introduced in dc9743e01e9)