Fix refresh and default values for integer data types

https://trello.com/c/aHoR5dxB