added index for time selects
filtering on time