Fixed crash with invalid custom record damage values. Closed #15.