Merge "Added validation of range and length constraints. Fixed base range constraints...