Minor Change On Coding to improve the logic for email on hold