Pre-scan histories for predicates before filtering

(cherry picked from commit cbe8810)
Update release notes for #387

(cherry picked from commit 175e498)