MDLSITE-3564 prevented errors if hub is empty