Fix activityScheduledDate trigger so it does not re-trigger every day
It's not quite clear from the diff because I tidied up the formatting.
But this removes
AND DATE(rule_log.log_date) = DATE(NOW()) from
LEFT JOIN civirule_rule_log
This is because it should not trigger every day but only once when the condition is reached. This was an error when developing the functionality.