Changed replicas to start up in recovery mode. Made special case for recovery with empty logs