Issue description
I made overlay that should show when NBT variable of player is over certain value. Overlay is named cloud (3 parts) and the NBT tag it is working on is made for cloud flower.
However when the nbt tag get back to 0 overlay is still visible
workspace: https://drive.google.com/open?id=1pCyq8AXv5PucEPx8nJGERnUzoluvA6gJ
I am not entirely sure why this is happening, but was not able to properly check it too. Cloud flower item sets it, but you reported the issue on getting nbt tag back to 0 which does not happen in flower item.
I would suggest you to do some printing in the if statements to see what parts execute and what not.