Seems to work for http://forterie.niagaraevergreen.ca/opac/en-CA/skin/forterie/xml/rdetail.xml?r=222559 where the 13-digit ISBN is first. Can you point at a sample record that demonstrates the problem?