Edge cases were improperly handled in fn.phase_diagram: unstable arrow should now be properly applied