Check that SID is correct