Take care of the symptom of the "Invalid data '' for CFSQLTYPE CF_SQL_NU...

...MERIC." errors.

This is an extension of issue #73 and only fixes the symptom (failed database query), but not the reason why the ID (probably the applicationID was an empty string in the first place.