Fixed a logical error in the potential crash fixer.