add some NULL checks in Aura internal operations, related to #1416. also correct naming GetMiscBValue() -> GetMiscValueB()