Fixed the check to know whether a SID object must be hidden or not
Merge pull request #477 from Zentyal/cperello/s4sync-fixes

Fixed the check to know whether a SID object must be hidden or not