Fix predicate not being forwarded correctly with unique_copy in algorithm component