Updated and altered how numerical index is recalculated.  Removed unset key method.