MATLAB/Engineering thermodynamics/Trouble with MATLAB code

There seems to be a bug in Xsteam when T_hs is called in a certain regime. I believe this occurs in the saturated regime near h = 1500 kJ/kg between s = 3.17 and 3.18 kJ/kg