[FIX] Fix cleanup with 0 matching shares