Fixed the broken selected pages tab of the page selector