Fixed bug in AllValuesKeyLast