Slightly changed logging
Added handling of OCUnderlyingInputRecord