@mpetrovic What if the weight is the same for more than one tab wouldn't that cause some to be removed?  Or are you guaranteed to have unique weights.