I don’t have the answer (obviously your if expression is wrong and it results to true all the time…)
Isn’t there a better way for you to get notified of upcoming appointments?
Triggering a rule every minute and performing DateTime comparisons seems a bit inefficient to me.
Doesn’t your CalDav server have the ability to send you an email based on time schedules?
Did you use: Design Pattern: Simple State Machine (e.g. Time Of Day) ?