Fixed SDS bug when exclude is missing or not specified