Sorted out the time range on the EH query