Make sure widget at index=0 is removed from sidebar when deactivated

Without this change, deactivating a widget at the beginning of a widget area will appear twice, once in the original sidebar and again in the Inactive Widgets sidebar.