entity-attribute-history query working