Fix number of keys sampled per expire loop (issue #461)

Addresses issue #461