PIM-1983 : reduce number of calls to getValues in getExistingValues