Prevent IndexError crashes from missing lines in propdefs and descdefs.