action itself should only ever be null if we've run out of actions.  I will update the comment.