In optimizations with 'Delete Unused Parameters' checked, active parameters were sometimes removed

When optimizing a BOM with the 'Delete Unused Parameters' option checked, parameters that were in use were sometimes removed.