Just starting using OpenRCT today and was running into this, as well. Even enabling the cheat to allow unrestricted train and car values did not resolve this, as I could not make it exceed the default. This resulted in the inability to have more than one train, at all, or increase the existing train's length.