Correctly retrieves values from the set and converts them from strings to integers