Fixed sid logic if new or old == 0 then valid
Also fixed join so it does not update remote.sid unless it is 0
updated replaceStaleInitiators and staleCorrespondents