better handling of a special corner case with NA in the domain (when passed up from R)
* handles usual NA cases as well -- IAEs should now work as expected here