Enhanced detection of terrestrial gamma-ray flashes by AGILE