Reproduce the unmatch foreign key bug

Refs #419, #421
Override the foreign_key of GroupTopicReply#topic

Fixed #421, refs #419