I added a parameter $force_link and told it to make the link if $force_link was true even when the author has no posts.
Needed to modify the code more but the choice to force or not to force is easier.
It would be nice for this functionality to be added by default.