Fixing rake reset tasks