Fix bug in email reminder template