Mods used: base game (2.0.72), this mod (1.1.0).
Steps to reproduce:
- Create a new save.
- Open inventory.
- Select one of the starting items, e.g. the burner mining drill, by pressing Q.
- Press Q while not pointing any item (such that this mod's functionality is triggered).
- Press Q again to un-select the item.
You now have one more of the item in question that you started with. This seems to only happen when the selection in step 4 grabs an actual item, not when grabbing ghosts (while "pick ghost item if no items are available" is enabled).