Fix victim cache logic