MDL-31860 mod_forum: fixes for peer review item 5