Bastion: collapsing table based on state.