Fixed regression that made log queries happen in spite of the bloom filter

Change-Id: I50f280a1db30cb1f9901a55a8a9558ebb2a9dffd