Fix widget migration for old wigets without payload #708