MDL-51782 mod_forum: fixed unit test failing on certain DBs