Fixed bug with N/A factor values.