Fixed bug in ArrayMap getValues