[Commons] Fixed min/max validation in float validation