little fix for estimating type. More robust if var is not a string.
little fix for estimating type. More robust if var is not a string.

FXIhub/condor,mhantke/condor,FXIhub/condor,mhantke/condor,FXIhub/condor