.Fixed bug with misspelled email_reminder_sent_date to er_sent_date mysql query.