Added support to exclude non mapped SIDs from results and also directory permissions