Change logic for displaying Compare versions button to ignore deaccessioned versions