Fixes #1

min, max were truncated due property type int.