Fix crash bounds checking record subtypes