Gracefully deal with NaN values in .sim input