Fixes traceback so that it takes into considers the values within the DP table
After merges