Fixed reference to xrange.