Fixed a minor bug with the expand close all button