Apparently issubclass(datetime, date), breaking my attempted coercing to date. Fixed.