Why is it that you're using NATURAL here as a sort of default but you set DEFAULT as the default value on line 116? It seems as though you should remove this logic and set SpawnReason DEFAULT for any entities without a stored reason.