fixed bug where optional validators were always return an error
better error message when min === max
bumped version