There seems to be a strange issue with the custap berry in gen 4. I don't know about the other gens but it seems leftovers disappears.
I observed this in a battle I was spectating.
Here are the logs
Battle timer is ON: inactive players will automatically lose when time's up.
Format:
[Gen 4] OU...