Added improved code for dry spell dates