Fix global var leaking that was making collationsort fail on Safari 5