I'm not sure exactly what behavior you're looking for, but posting your code unchanged to http://jsfiddle.net/CrossEye/hApgg/, I seem to get it working consistently for all three links.
I don't know why you write the parentheses wrapping the "a"
below:
$(("a"),local_links).on("click", function(e){ //...
This would work equally well:
$("a", local_links).on("click", function(e){ // ...
but they're not hurting anything either.
So does this Fiddle duplicate your problem? If not, then the problem is in code other than what you've posted.