Implemented secondChance for detections whose first-choice label is taken by another detection with a higher related score. Discovered SegFault that occurs when entries are deleted for bad matching, probably related to implementation of new vote system.