Fix #1720: Part 2: Improve security by checking that menu item belongs to Kunena
Merge pull request #1731 from mahagr/master

 Improvements to #1720