Fix empty snapshot predicate serialization bug found by Steve.