Fixed reversed return value with checkSID() method