Fixed recursive directory search bug