CRM-13103 - Fix hook re-entrancy

http://issues.civicrm.org/jira/browse/CRM-13103