Fixes to the LET merge routine