Corrected an issue with alert showing an incorrect value.