Fix bugs in CostSensitiveLRUPolicy.