Fixed bug where analysis was picking out only replacements with a positive score