Fixed filter_reply_clauses() bug