Fix 'ls' recursion