Gracefully handle stored non-int/long values for int/long properties