Fixed deleting selected project issue.