fix assertion

Thanks for day-of-datomic; it's been very helpful in bootstrapping our switch to Datomic.