Fix recursion problem with nocache.