Add handling for answer strings that convert to float inf and nan