Tweak to Merge.py
Fix #548.