Fix filter getDirectories with father