Fix bug in history request. Should have use datomic.api history function
around database value:)