Fixed a bug with iterations in table edit