Fix the situation where a project may not have visible tasks.


git-svn-id: svn+ssh://svn.code.sf.net/p/dotproject/code/branches/stable_2@6231 c625438d-3aaf-4c84-a37d-fcf3134530f0
Merge branch 'master' of github.com:dotproject/stable-2