Added check to not assign a counter if it is already down to 0