Fix checking if we support shares.