Ensuring that a value array is indexed properly before saving; refs #62

Since we're calling array_values, we also no longer need to do the is_numeric check on the index