Update getArchivedProject function

Add extra arguments added in last update of db schema