Make sure simple integer values are stored correctly