fixed check in 'LookupSnowDensityFromTable'