Fix Dataset#set with getValsFunction.