Fixes undefined index notices on widget update()