LPS-35145 checkAllBox toggles selected and unselected state when selecting pages to publish on staging