Fixed numeric checks that allowed zero values