Fix bugs related to LetTuples not being handled