Fixed a redirection bug.

Fiexd a bug when the user is redirected to the todolist/conversation
created when it's not its project.