Adjust handling of blob reference counts