Fix _XS_legendre_phi for new table phi