Don't attempt to resize vector to negative size.
Merge pull request #2705 from robbak/crash_zero_size_peers.dat

Don't attempt to resize vector to negative size.