1.7.3 fixes the crash, but now that I'm at it, I'll probably revamp the whole entity replacement system using the apply_upgrade method. Might take me a while though to integrate all the experimental branches I have currently lying around, so I didn't want to wait any longer with the crash fix.