(Bug 5154) Only print the multiform start if we have comments

Fixes a non-matching form tags issue
Merge pull request #467 from afuna/logout-bug5154

(Bug 5154) Only print the multiform start if we have comments