Fix a bug when using PROCESS_VALUES_DB, incorrect field name used.