Modifying merge range composite to use predicate