Revisiting the hardening of the cosmic-ray energy spectrum at TeV energies