#7417 - Check archival history visibility in adv. search

Fixes #7417