Fix for task due and overdue notification rule

This fixes issue found in task due and overdue email notification rule. Also fixes the issue of skipping older style content notification (content = None).

Fixes b/17487330
Sooooo many pluses...