FORUM-769 | Error when click on Forum or Topic link - improvement code.