Added check to make sure that number of correlated values in a
branch is equal to the number of sources specified in
aaplyToSources filter of branch set