Fix datum exception handling (infinite recursion)