Fix generation of illegal facets.
Alert only when some NaN values have been found.