Should speed up xpath (about 1 second faster on my machine with 100 records)