Game crashes if an NPC has no Class attached

Version of OpenMW: 0.47.0

If the game begins to processing an NPC that has no class attached, OpenMW is freezing. Maybe this is not that thing because the OpenCS verifier throws a warning/error if an NPC has no class attached.