Fix message format to fill 'condition' attribute