fixes small error in setting synapse orphans