Fix replace items fetch predicate