Fixes ArrayIndexOutOfBoundsException in the dashboard when the dashboardWidgets user setting is corrupted and is empty.