Handle both types of CalculateLevelOfDetail.

This makes 'lod' operator work correctly.
Compiles back to same code.
Tested both variants in FC4.