MT#7679 fix table.shift()