Sanitation special case of Ratio was broken #2353

If no flush was triggeret earlier, then we were unable to finish
special Ratios for Sanitation properly. This was a direct side-effect
of previous commit. We now rely on memory cache to avoid hitting DB
unnecessarily.