Fixed errors in discussion XModule, caused by c2716d4 [TNL-606]