Predicate

That was happening because I was too lazy to populate latencies in tests, fixed that and replaced confusing logic with something less error-prone