src/utils_threshold.c: Change the percentage code so it works with the DataSource...