diff --git a/grantprograms.php b/grantprograms.php
index 737e44813d48db2d505684303dd900a1caccd420..e366b2c9da2ee561dd29b60cac8a39b3f10b22a0 100644
--- a/grantprograms.php
+++ b/grantprograms.php
@@ -100,7 +100,10 @@ function grantprograms_civicrm_grantAssessment(&$params) {
       foreach($value as $fieldKey => $fieldValue) {
         if (in_array($fieldValue['table_name'], array('civicrm_value_full_board_review_22', 'civicrm_value_grant_committee_review_21', 'civicrm_value_tech_assistance_evaluation_20')) 
           && CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomField', $fieldValue['custom_field_id'], 'html_type') == 'Select') {
-          $assessmentAmount += $fieldValue['value'];
+          if (is_nan((float)$fieldValue['value']) === FALSE) {
+            $assessmentAmount += $fieldValue['value'];
+            CRM_Core_Error::debug( '$fieldValue', $fieldValue['value'] );
+          }
         }
       }
     }