Allocate session caps by occurrence rank after display grouping
When grouping identical displayed passages and limiting results per session, allocate session slots by each occurrence's actual rank. Ordering groups by their best member, then substituting a weak copy from another session, can consume that session's slot ahead of stronger distin…