fix problems with past-work buttons vs event date