Improved code to get forums, topics and replies in a particular section