Fixed datum ID issues.