Fix potentially repairing with wrong nodes

patch by yukim; reviewed by krummas for CASSANDRA-6808