Fixed NullPointerException due to first loop in eviction.