Fixed folders not recursing correctly.