Added if statement to ensure lead exists before updating role
Merge branch 'master' of https://github.com/gkparishphilp/actsmart

 commit.