Fix #1085: Conditions section (5.8) does not correctly link to mentioned tasks

Also fixes some related links that were broken.
Merge pull request #269 from cweiske/fix-1085

Fixes #1085: Conditions section (5.8) does not correctly link to mentioned...