More carefully validate integer property setting/getting