Fixed issue with code for api that was over 5 years old. No idea why it
was not previously executed. Disabled OblivionLayer been written as it
needs to convert from the UI property string to enum int value