Fixed empty directories removal