MB-12808 Fix updates in merge statements.