Don't allow flags to be set when count reaches 0