Fix toggleAll from being duplicated every time a version is changed