Ghost of shared link

I am encountered strange problem with shared links. It is not a big deal, but still…

User added External Storage and Shared some folders via URLs from it, after some time user deleted external storage and External Storage support was turned off completely, but URLs has not been deleted automatically and in the end it shows “No shares” in Files-Shares for user, but for admin in Monitoring section it shows N-amout of “ghost shares” with no files “behind”.

So, i tried occ maintenance:repair and it did not fix it. The only they for me was to edit database itself, find and delete rows in oc_share.
Maybe i missed something in occ and I dont know if it is a bug or intended way, but i hope this post is useful)