Move the check of "isEvicted" back.