Prevent NaN records from saving.