Fix snapshot #0 handling for traces with a stack check on entry.