remove deleted project from local session (added checking for project)