Fixed a bug where vectors could infinite loop on call to __expand at __capacity == 1.