Crm 14840 fix 

Includes fix for a regression, where upon executing Activity Schedule Reminder(s) results into DB fatal error.