Fix if reading history is disabled for Horizon