Fixed bug in sifting test.