Fix bug where projects with ids > 10 have undefined for their id