Minor fix of prime strategy.