Fixed bug in TopicDao