Added check in getMemorizedVals() to check if the items are setted.