fixed possible PreviewPkgs infinite loop
tagged 4.1.8