Corrections to Datomic indicies recipe suggested by @bobby.