I think this should be `from wikistats_sample_cached` not `from wikistats_sampled`.