Fixed an issue that would occur if the values when adding where a keyed array instead of numeric.