Added inline function asLogicalNoNA().