bug fix in function validateReceivedSMS due to mass search and replace