SQL: Add missing renames for merge