Fixing bug with editing event date.