Handles no next call. Replaces NULL with NA.