fix possible data loss during multiple restarts. patch by jbellis; reviewed by Jun Rao for CASSANDRA-204