Fixed crash and logic error in IzeniAlert.