strip non-relay candidates from SDPs too, and add tests for this