Editor: fixed improper value validation for region count properties