Sugar Ants will only avoid dead ants once they're in the midden, or if danger is still present. While ants may smell the pheromones released upon an ant's death, they're not always sure what caused it. This will likely cause other ants to investigate. If danger is present, they'll leave their companion behind.
To see this working, head to your live site.
