fix navigation when deleting project

@umop 

fix for #3440